﻿using System;
using System.Collections.Generic;
using System.Web;

namespace SaleManagement.DTO
{
    //Define a Transactions class.
    /*
     * 
     */
    public class Transactions
    {
        //Transaction Parameters
        private int TransactionID;
        private int TransactionType;
        private int ProductID;
        private int Amount;
        private string Description;

        //Constructor without parameter
        public Transactions() { }

        //Constructor with parameter
        public Transactions(int ID,int Type,int Product,int amount,string Desc) 
        {
            this.TransactionID = ID;
            this.TransactionType = Type;
            this.ProductID = Product;
            this.Amount = amount;
            this.Description = Desc;

        }
        

    }

    //Define a transactions Type Class .
    public class TransactionType
    {
        //Transactiontype parameters
        int TypeID;
        string TypeName;

        //Constructor without parameter
        public TransactionType() { }

        //Constructor with parameter
        public TransactionType(int ID,string Name)
        {
            this.TypeID = ID;
            this.TypeName = Name;
        }

    }
}